home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh -e
-
- invoke-rc.d udev reload
-
- # Those using dependency based boot sequencing with sysv-rc and installing
- # ekeyd-egd-linux before and including version 1.0.4-1 would have wrong
- # runlevel symlinks. Recover from this.
- if [ "$1" = "configure" ] && dpkg --compare-versions "$2" le "1.0.4-1" \
- && [ -f /etc/rcS.d/S[0-9][0-9]ekeyd ] ; then
- update-rc.d -f ekeyd remove
- fi
-
- # Automatically added by dh_installinit
- if [ -x "/etc/init.d/ekeyd" ]; then
- update-rc.d ekeyd defaults >/dev/null
- if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
- invoke-rc.d ekeyd start || exit $?
- else
- /etc/init.d/ekeyd start || exit $?
- fi
- fi
- # End automatically added section
-
-
-